my_dict = {"林颖":"酷狗音乐"}
my_dict["林漫冰"]="五所"
my_dict["阮继宇"] ='大族机器人'
my_dict["林微"] = '广东设计院'

query = input("你要查询的对象：")

if query in my_dict:
    print(query,"所在的公司是",my_dict[query] )
else:
    print("该同学还没找到工作")

salry = [11,22,33,4,5,6,7,8,999]
for value in salry:
    print(value)
print()
for key in my_dict.keys():
    print(key)
print()
for value in my_dict.values():
    print(value)
print()
for key,value in my_dict.items():
    print(key,value)
print()
for i in range(5,12,3):
    print(i)
print()

sum=0
for i in range(1,101):
    sum = sum+i
print(sum)

gpa_dict = {"小明":3.45,"小颖":3.79,"小冰":3.76,"小李":2.687,"小张":3.687}

for name,gpa in gpa_dict.items():
    print("{0}你好，你的绩点是: {1:.2f}".format(name,gpa))
    print(f"{name}你好，你的绩点是: {gpa:.2f}")

            